package com.lxd;


import org.springframework.amqp.support.converter.Jackson2JsonMessageConverter;
import org.springframework.amqp.support.converter.MessageConverter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @Author: zhangmengchao
 * @Description:
 * @Date: Created in 10:47 2022/2/7
 */
//@EnableFeignClients
//@EnableDiscoveryClient
@SpringBootApplication
public class app {

    public static void main(String[] args) {
        SpringApplication.run(app.class, args);
    }

    @Bean
    public MessageConverter messageConverter() {
        return new Jackson2JsonMessageConverter();
    }
}
